package com.imm.pojo;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


import java.time.LocalDateTime;

/**
 * 套餐
 * @author HJy
 */
@Data
@TableName("setmeal")
public class Setmeal {

    @TableId(value = "id")
    private Long id;
    @TableField("category_id")
    private Long categoryId;
    @TableField("name")
    private String name;
    @TableField("price")
    private Double price;
    @TableField("status")
    private Integer status;
    @TableField("code")
    private String code;
    @TableField("description")
    private String description;
    @TableField("image")
    private String image;
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;
    @TableField(value = "update_user", fill = FieldFill.INSERT_UPDATE)
    private Long updateUser;
    @TableField("is_deleted")
    private Integer isDeleted;

}
